// 热销榜显示切换
var listHover = function (el, activeName) {
    activeName = activeName || 'active';
    var lastActive = el[0] ;
    for (var i = 0, k ; k = el[i] ; i++ ) {
        k.onmouseover = function () {
            lastActive.className = '';
            this.className = activeName ;
            lastActive = this ;
        }
    }
}
listHover(document.getElementById('rexiaoList').getElementsByTagName('li'));
